<?php
// +----------------------------------------------------------------------
// | INPHP
// | Copyright (c) 2023 https://inphp.cc All rights reserved.
// | Author: 幺月儿(https://gitee.com/lulanyin) Email: inphp@qq.com
// | 该文件的开源协议以所在项目的LICENSE文件为准，请遵守开源协议要求
// +----------------------------------------------------------------------
// | 模块权限配置
// +----------------------------------------------------------------------
return [
    ["name" => "内容管理", "value" => "archive", "tooltip" => "如果选择这一级，下级所有权限将继承", "sub" => [
        ["name" => "添加/修改内容", "value" => "edit", "tooltip" => "授予发布新内容、修改已有内容的权限，但不包含删除内容！"],
        ["name" => "删除内容", "value" => "delete", "tooltip" => "授予删除所有内容的权限"],
        ["name" => "发布/撤回内容", "value" => "state", "tooltip" => "授予内容发布展示、撤回的权限"]
    ]],
    ["name" => "分类管理", "value" => "category"],
    ["name" => "导航设置", "value" => "nav"],
    ["name" => "焦点轮播图管理", "value" => "focus"],
    ["name" => "站点管理", "value" => "site"],
    ["name" => "模板管理", "value" => "template"],
    ["name" => "插件管理", "value" => "plug"],
    ["name" => "系统配置", "value" => "config"]
];